package com.kayang.wechat.pojo.msg;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Map;

@Data
public class VoiceMsg extends BaseMsg{


    private String msgtype = "voice";

    @NotNull
    private int agentid;

    @NotNull
    //{"media_id" : "MEDIA_ID"}
    private Map voice;

    private int safe;


}
